// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package me.croute.googleapi.common;

import android.app.Activity;
import android.content.*;
import android.util.Log;

public class GoogleCommonType_R
    implements android.content.DialogInterface.OnClickListener
{

    public GoogleCommonType_R(Activity activity, Intent intent, int i)
    {
        ar = activity;
        G = intent;
        as = i;
    }

    public void onClick(DialogInterface dialoginterface, int i)
    {
        try
        {
            ar.startActivityForResult(G, as);
            dialoginterface.dismiss();
        }
        catch(ActivityNotFoundException activitynotfoundexception)
        {
            Log.e("SettingsRedirect", "Can't redirect to app settings for Google Play Services");
        }
    }

    private final Activity ar;
    private final Intent G;
    private final int as;
}
